<template>
    <div class="cartHead">
        <div class="headBox1">
            <h2>购物车(1)</h2>
            <span>管理</span>
        </div>
        <div class="headBox2">
            <p>共1件宝贝</p>
        </div>
    </div>
</template>

<script>

export default {

}
</script>

<style scoped>
.cartHead{
        width: 100%;
        height: auto;
        background: linear-gradient(-90deg, #FF5000 0%, #FF8400 100%);
        position: absolute;
        top: 0;
    }
.headBox1{
    width: 100%;
    box-sizing: border-box;
    display: flex;
    padding:.4rem .24rem .2rem 0;
    color: #fff;
    justify-content: space-between;
}
 .headBox1 h2{
    font-size: 0.4rem;
    padding-left: .24rem;
    
 }
.headBox1 span{
    font-size: .24rem;
}
.headBox2{
    width: 100%;
    height: 2.5rem;
    box-sizing: border-box;
    padding: .1rem .24rem 0rem .24rem;
    display: flex;
    flex-direction: column;
}
.headBox2 p{
    font-size: 12px;
    color: #FFFFFF;
}
</style>